namespace FireStarterModeller.Logic.Commands
{
    public interface ICommand
    {
        void Apply();
        void Revert();
    }

    public interface ICommandRunner
    {
        void ApplyCommand(ICommand command);
    }

    public class CommandRunner : ICommandRunner
    {
        public void ApplyCommand(ICommand command)
        {
            command.Apply();
        }
    }
}